package com.ka.magicexplorer.provider;

import java.util.ArrayList;
import java.util.List;

import com.ka.magicexplorer.model.FileSuper;

public class MySession {
	
	protected static MySession myInstance = new MySession();
	
	private MenuState currentGroupFocus;
	private MenuState currentChildFocus;
	
	private List<FileSuper> pngFileList;
	private List<FileSuper> jpgFileList;
	private List<FileSuper> gifFileList;
	
	public static enum MenuState
	{
		noState,
		documentState,
		mediaState,
		galleryState,
		
		pdfState,
		docState,
		txtState,
		
		jpgState,
		pngState,
		gifState,
		
		musicState,
		movieState
	}

	protected MySession(){
		pngFileList = new ArrayList<FileSuper>();
		setJpgFileList(new ArrayList<FileSuper>());
		setGifFileList(new ArrayList<FileSuper>());
		
	}

	public static MySession getInstance(){
		return myInstance;
	}

	public MenuState getCurrentGroupFocus() {
		return currentGroupFocus;
	}

	public void setCurrentGroupFocus(MenuState currentGroupFocus) {
		this.currentGroupFocus = currentGroupFocus;
	}

	public MenuState getCurrentChildFocus() {
		return currentChildFocus;
	}

	public void setCurrentChildFocus(MenuState currentChildFocus) {
		this.currentChildFocus = currentChildFocus;
	}

	public List<FileSuper> getPngFileList() {
		return pngFileList;
	}

	public void setPngFileList(List<FileSuper> pngFileList) {
		this.pngFileList = pngFileList;
	}

	public List<FileSuper> getJpgFileList() {
		return jpgFileList;
	}

	public void setJpgFileList(List<FileSuper> jpgFileList) {
		this.jpgFileList = jpgFileList;
	}

	public List<FileSuper> getGifFileList() {
		return gifFileList;
	}

	public void setGifFileList(List<FileSuper> gifFileList) {
		this.gifFileList = gifFileList;
	}

}
